package com.example.teesystem.mapper;

import com.example.teesystem.entity.TrainIssueRelation;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

/**
* @author 28131
* @description 针对表【t_train_issue_relation】的数据库操作Mapper
* @createDate 2022-04-16 09:55:16
* @Entity com.example.teesystem.entity.TrainIssueRelation
*/
public interface TrainIssueRelationMapper extends BaseMapper<TrainIssueRelation> {
    @Update("update t_train_issue_relation set is_delete = 1 where ad_train_id = #{id}")
    void deleteIssue(int id);
}




